﻿using System.Windows;

namespace _3DTicTacToe
{
    public partial class StartWindow : Window
    {
        public StartWindow()
        {
            InitializeComponent();
        }

        private void Border_MouseUp(object sender, RoutedEventArgs routedEventArgs)
        {
            new AboutWindow{Owner = this}.ShowDialog();
        }

        // new game
        private void NewGameButton_Click(object sender, RoutedEventArgs routedEventArgs)
        {
            new NewGameDialog().Show();
            Close();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            new NetJoinPropertiesWindow().Show();
            Close();
        }

        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            new NetHostPropertiesWindow().Show();
            Close();
        }
    }
}
